package com.leyou.item.mapper;

import com.leyou.item.pojo.SpecGroup;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author gsy
 * @date 2022/4/6
 * @apiNote
 */
public interface SpecGroupMapper extends Mapper<SpecGroup> {

    @Insert("insert into tb_spec_group (cid,name) values(#{cid},#{name}) ")
    void insertSpeGroup(@Param("cid")Long cid,@Param("name")String name);
}